import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import {CasualContractQuery} from "@/api/casual/contract/types";
/**
 * 任务订单信息
 *
 * @param queryParams
 */
export function casualContractList(queryParams?: CasualContractQuery): AxiosPromise<OptionType[]> {
  return request({
    url: '/web/casualContract/pages',
    method: 'get',
    params: queryParams,
  });
}